package com.plan.dao.service.card;

import com.plan.controller.card.request.BaseReq;
import com.plan.controller.card.response.CardListVO;
import com.plan.entity.card.Card;
import com.plan.entity.card.Team;

import java.util.Date;
import java.util.List;

public interface CardDaoService {
    int insert(Card card, Team team);

    int update(Card card);


    Card selectOneById(Long teamId, Long id);

    void delete(BaseReq req, Team update, Card card);

    List<CardListVO> list(Long teamId);

    List<Card> selectWaitDeleteCard(Date start, Date end, Long preMaxId);

    void realDeleteByCardId(Long teamId, Long id);
}
